package com.ks;

import com.ks.common.quartz.QuartzManager;
import com.ks.service.ConfigService;
import com.ks.service.MonitorManager;
import org.apache.log4j.Logger;

/**
 *
 *
 */
public class Server{

    private static final org.apache.log4j.Logger logger =  Logger.getLogger(Server.class);

    public static void main( String[] args ) {

        start();
    }
    private static void start(){
        ConfigService.init();
        MonitorManager.getInstance().start();
        QuartzManager.getInstance().init();
        logger.info("monitor server start……");
    }


}
